Do not assume DST starts/ends on the same date in every year.
authorGlenn Morris <rgm@gnu.org>
Fri, 10 Nov 2006 08:54:38 +0000 (08:54 +0000)
committerGlenn Morris <rgm@gnu.org>
Fri, 10 Nov 2006 08:54:38 +0000 (08:54 +0000)
commit86c9ccb92bc9a3483cd69b38156652b995f6428f
treef69ab3d22a5dd2137d58b94bd5ef37e8460dc4ed
parentbd291c326efba8254f9feead1e833f916ce12bb7
Do not assume DST starts/ends on the same date in every year.
(calendar-dst-check-each-year-flag): New customizable variable.
(calendar-dst-find-data): New function, extracted from
calendar-current-time-zone.
(calendar-current-time-zone): Use calendar-dst-find-data.
(calendar-dst-transition-cache): New variable.
(calendar-dst-find-startend, calendar-dst-starts)
(calendar-dst-ends): New functions.
(calendar-daylight-savings-starts)
(calendar-daylight-savings-ends): Change value to use
calendar-dst-starts, calendar-dst-ends; respectively.
lisp/calendar/cal-dst.el